<section class="subnav">
    <div class="container">
        <if condition="$ms == 2">
            <a href="index.php?g=User">我的资源</a>
            <a href="index.php?g=User&type=1">我的教案</a>
            <a href="index.php?g=User&m=Index&a=password">我的资料</a>
            <a href="index.php?g=User&m=Teacher&a=subject">在线出题</a>
            <a href="index.php?g=User&m=Teacher&a=make">生成试卷</a>
            <a href="index.php?g=User&m=Teacher&a=ExamCollect">考试汇总</a>
            <a href="index.php?g=User&m=Teacher&a=TaskCollect">作业汇总</a>
            <elseif condition="$ms == 3"/>
            <a href="index.php?g=User&m=Index&a=password">我的资料</a>
            <a href="index.php?g=User&m=Student&a=index">我的考试</a>
            <a href="index.php?g=User&m=Student&a=homework_list">我的作业</a>
             
            <elseif condition="$ms == 4"/>
            <a href="index.php?g=User&m=Index&a=password" >我的资料</a>
            <a href="index.php?g=User&m=Writing&a=index" >作品列表</a>
            <else />
            <a href="index.php?g=User&m=Index&a=password" class="active">我的资料</a>
            
        </if>
    </div>
</section>